package org.raymond.iworks.study.startup;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class AppStart1 implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        log.info("AppStart1 InitializingBean begin");
        //Thread.sleep(1000*3);
        log.info("AppStart1 InitializingBean end");
    }
}
